<?php $form=$this->beginWidget('GxActiveForm', array(
    'id'=>'main-search-form',
	'action' => Yii::app()->createUrl('search/index'),
	'method' => 'post',    
    'enableClientValidation'=>false,
)); ?>
	<div class="row">
		<?php echo $form->label($model, 'rubric'); ?>
		<?php echo $form->dropDownList($model, 'rubric', GxHtml::listDataEx(Rubrics::model()->visible()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'Все'))); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'category'); ?>
		<?php echo $form->dropDownList($model, 'category', GxHtml::listDataEx(Categories::model()->visible()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'Все'))); ?>
	</div>   

	<div class="row">
		<?php echo $form->label($model, 'text'); ?>
		<?php echo $form->textField($model, 'text', array('maxlength' => 100)); ?>
	</div>

    <div class="row buttons">
        <?php  echo GxHtml::submitButton(Yii::t('app', 'Показать результаты')); ?>
    </div>
<?php $this->endWidget(); ?>